<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<!-- Here is CSS file -->
		<link href="here.is.css" rel="stylesheet" type="text/css" media="screen" />
		<title>这个是test的模板</title>
		<style>
			html, body{margin:0;padding:0;background-color:#EEE;}
			.ct{width:auto;padding:10px;margin:50px 10px 0px 10px;background-color:#EEE;min-height:200px;}
			.ct .title{text-align:center;padding:10px 0;font-family:"微软雅黑";}
			.ct .cp{background-color:#CCC;margin:20px 10px; min-height:120px;}
		</style>
		<script>
			function loadJS (url, onload) {
				var domscript = document.createElement('script');
				domscript.src = url;
				if ( onload ) {
					domscript.onloadDone = false;
					domscript.onload = onload;
					domscript.onreadystatechange = function() {
						if ( "loaded" === domscript.readyState && domscript.onloadDone ) {
							domscript.onloadDone = true;
							domscript.onload();
							domscript.removeNode(true);
							}
					}
				}
				document.getElementsByTagName('head')[0].appendChild(domscript);
			}
			//执行加载外部 JS 文件
			loadJS('a.js',function (){
				 loadJS('b.js',function (){
					loadJS('c.js',function (){
						alert('ok');
					});
				 });
			});

		</script>
		
	</head>
	
	<body>
		<div id="header"></div>
		<div class="ct" id="container">
			<h1 class="title">这里是标题</h1>
			<div class="cp">模块1</div>
			<div class="cp">模块2</div>
		</div>
		<div id="footer"></div>
	</body>
	
</html>
